package constants

var codeTextCn = map[int]string{
	CodeOk:                         "请求成功。",
	CodeSystemException:            "请求失败。",
	CodeInputParamInvalid:          "请求失败。",
	CodeInputJSONInvalid:           "请求失败。",
	CodeDataMissing:                "请求失败。",
	CodeReadDbFailed:               "请求失败。",
	CodeWriteDbFailed:              "请求失败。",
	CodeSendEmailFailed:            "请求失败。",
	CodeInvalidFileData:            "请求失败。",
	CodeQueryFailed:                "请求失败。",
	CodeFileUploadFailed:           "请求失败。",
	CodeTransferFileFailed:         "传输文件失败。",
	CodeInvalidSession:             "无效会话。",
	CodeNotImplement:               "即将上线，敬请期待。",
	CodeInvalidKey:                 "请求失败。",
	CodeShortenFailed:              "请求失败。",
	CodeSaveLogToEsFailed:          "请求失败。",
	CodeSaveLogToFileFailed:        "请求失败。",
	CodeStationNotExist:            "在服务器未找到设备。",
	CodeStationExist:               "设备已在服务器存在。",
	CodeStationBinded:              "此设备已被其他账号绑定。",
	CodeStationNotBinded:           "设备未被账号绑定。",
	CodeStationNotAdmin:            "只有管理员才能修改设置。",
	CodeDeviceBinded:               "基站已被绑定。",
	CodeDeviceBindedToAnother:      "设备已被其他账号绑定。",
	CodeDeviceNotBinded:            "设备未被其他账号绑定。",
	CodeDeviceNotExist:             "设备不存在",
	CodeDeviceExist:                "设备已存在。",
	CodeStationNotReset:            "请求失败。",
	CodeDeviceNotAdmin:             "只有管理员才能修改设置。",
	CodeStationAllocated:           "请求失败。",
	CodeRunOutOfDid:                "请求失败。",
	CodeDidExist:                   "请求失败。",
	CodeDeviceAllocated:            "请求失败。",
	CodeRunOutOfRtsp:               "请求失败。",
	CodeRtspExist:                  "请求失败。",
	CodeDidServerExist:             "请求失败。",
	CodeDidServerNotExist:          "请求失败。",
	CodeStationBindedToAnother:     "此设备已被其他账号绑定。",
	CodeDeviceNotShare:             "设备分享已被删除。",
	CodeStartStreamFailed:          "播放失败。",
	CodeEventNotExist:              "文件不存在。",
	CodeEventNotAuth:               "只有管理员能编辑视频。",
	CodeEventFavorited:             "请求失败。",
	CodeEventNotFavorited:          "请求失败。",
	CodeEventPartialNotExist:       "请求失败。",
	CodeStationMemberExist:         "设备已被分享到此账号。",
	CodeStationMemberNotExist:      "设备未被分享到此账号。",
	CodeStationSuperAdmin:          "请求失败。",
	CodeStationDeviceNotExist:      "请求失败。",
	CodeStationMemberInvited:       "分享邀请已发送。",
	CodeStationMemberNotInvited:    "请求失败。",
	CodeStationNotSuperAdmin:       "请求失败。",
	CodeUnauthorizeSelf:            "请求失败。",
	CodeStationMemberNotRegister:   "请求失败。",
	CodeStationInviteSelfDisallow:  "不能将设备分享给自己。",
	CodeStorageNotOpen:             "您无有效订阅。",
	CodeUserNotrial:                "云存储试用已到期。",
	CodeStorageOpened:              "订阅已激活。",
	CodeStorageExpired:             "订阅已过期，请重新订阅。",
	CodePackageNotExist:            "请求失败。",
	CodeOrderNotExistOrExpired:     "请求失败。",
	CodeOrderNotCreated:            "请求失败。",
	CodeOrderNotPayed:              "请求失败。",
	CodeOrderChargeFailed:          "请求失败。",
	CodeOrderRefundFailed:          "请求失败。",
	CodeOrderChargeSuccDbFailed:    "请求失败。",
	CodeOrderRefundSuccDbFailed:    "请求失败。",
	CodeInvalidSubscription:        "请求失败。",
	CodeCancelSubscriptionFailed:   "取消订阅失败。",
	CodeDeviceNotSubscribed:        "请求失败。",
	CodeCreatePlanFailed:           "请求失败。",
	CodeCreateSubscriptionFailed:   "请求失败。",
	CodeUpdateSubscriptionFailed:   "请求失败。",
	CodeDeviceAlreadySubscribed:    "请求失败。",
	CodeCreateCustomerFailed:       "请求失败。",
	CodeConflictSubscription:       "摄像头还在订阅有效期内，请",
	CodeRegisterFailed:             "登录失败。",
	CodeValidateEmailFailed:        "请求失败。",
	CodeActivateFailed:             "请求失败。",
	CodeForgetPasswordFailed:       "重置密码失败。",
	CodeChangePasswordFailed:       "修改密码失败。",
	CodeThirdPartyLoginFailed:      "第三方账号登录失败。",
	CodeLoginFailed:                "登录失败。",
	CodeAutoLoginFailed:            "请求失败。",
	CodeGetProfileFailed:           "请求失败。",
	CodeSubscribeEmailsFailed:      "请求失败。",
	CodeUpdateProfileFailed:        "修改昵称失败。",
	CodeEditAvatarFailed:           "更新头像失败。",
	CodeUserNotExist:               "请求失败。",
	CodeResetPasswordFailed:        "请求失败。",
	CodeResendActiveEmailFailed:    "请求失败。",
	CodeAccountNotActivated:        "验证邮件已发送到邮箱。如果未找到邮件，请尝试去垃圾箱找一下。登录前需验证账号。",
	CodeDestroyUserFailed:          "注销账号失败。",
	CodeSaveAccountToRedisFailed:   "请求失败。",
	CodeValidateTokenFailed:        "请求失败。",
	CodeGetCountriesFailed:         "请求失败。",
	CodeGetStatesFailed:            "请求失败。",
	CodeAdminUserNotExist:          "此用户不存在。",
	CodeSetSessionFailed:           "更新会话失败。",
	CodeDeleteSessionFailed:        "删除会话失败。",
	CodeNotSuperAdmin:              "您无超级管理员权限。",
	CodeAdminUserExist:             "用户名称已被使用。",
	CodeModifyPasswordFailed:       "修改密码失败。",
	CodeDeleteUsersFailed:          "注销账号失败。",
	CodeUndeleteUsersFailed:        "更新用户信息失败。",
	CodeInvalidUserOrPassword:      "无效用户名或密码。",
	CodeUpdateUserFailed:           "更新用户信息失败。",
	CodeNotOpsAdmin:                "您无管理员权限。",
	CodeAiAssisGroupNotExist:       "请求失败。",
	CodeAiAssisGroupExist:          "请求失败。",
	CodeAiAssisDeleteGroupsFailed:  "请求失败。",
	CodeAiAssisUserNotExist:        "请求失败。",
	CodeAiAssisUserExist:           "昵称重复。",
	CodeAiAssisDeleteUsersFailed:   "请求失败。",
	CodeAiAssisMonitorFaceNotExist: "请求失败。",
	CodeAiAssisDeleteFaceFailed:    "删除人脸图片失败。",
	CodeAiAssisGroupHasUsers:       "请求失败。",
	CodeAiAssisFaceNotExist:        "请求失败。",
	CodeGeneralCreateFailed:        "发送反馈失败。",
	CodeSectorAlreadyExist:         "请求失败。",
	CodeSectorNotExist:             "请求失败。",
	CodeSectorHasDevices:           "请求失败。",
	CodeSectorDefaultExist:         "请求失败。",
	CodeOtaDeviceTypeNotExist:      "请求失败。",
	CodeOtaGrayBatchNotExist:       "请求失败。",
	CodeOverallParentNotExist:      "请求失败。",
	CodeCipherGenerateFailed:       "请求失败。",
	CodeInvalidStation:             "请求失败。",
	CodeSaveStationFailed:          "请求失败。",
	CodeConnectionNotExist:         "请求失败。",
	CodeTransferFailed:             "请求失败。",
	CodeSmartUnauth:                "请求失败。",
	CodeReviewDayLimitReach:        "请求失败。",
	CodeReadRedisFailed:            "请求失败。",
	CodeWriteRedisFailed:           "请求失败。",

	CodeStripeCardDeclined:    "输入的信息错误，请检查卡是否有效。",
	CodeStripeExpiredCard:     "输入的信息错误，请检查卡是否有效。",
	CodeStripeIncorrectNum:    "输入的信息错误，请检查卡是否有效。",
	CodeStripeInvalidCvc:      "输入的信息错误，请检查卡是否有效。",
	CodeStripeInvalidExpM:     "输入的信息错误，请检查卡是否有效。",
	CodeStripeInvalidExpY:     "输入的信息错误，请检查卡是否有效。",
	CodeStripeInvalidNum:      "输入的信息错误，请检查卡是否有效。",
	CodeStripeIncorrectCvc:    "输入的信息错误，请检查卡是否有效。",
	CodeStripeIncorrectZip:    "输入的信息错误，请检查卡是否有效。",
	CodeStripeMissing:         "支付失败，请重试",
	CodeStripeProcessingErr:   "支付失败，请重试",
	CodeStripeRateLimit:       "支付失败，请重试",
	CodeStripeResourceMissing: "支付失败，请重试",

	CodeGeofenceMsgInvite:         "您的家人或朋友正在邀请您的手机定位权限来启用Geofencing",
	CodeGeofenceMsgEnableLocation: "%s's geofencing is unable to work perfectly due to your family or friend's phone location service has not been enabled or the app has not been granted location permission.\nGo to the Enabled Devices menu to check the details.",

	TemplatePaymentSucceed:             "订阅成功",
	TemplatePaymentFailed:              "订阅失败",
	TemplateSubscriptionDeleted:        "订阅取消成功",
	TemplateSubscriptionExpiring:       "您的订阅即将自动续订。",
	TemplateSubscriptionTrialExpiring:  "Your free trial of the cloud storage for \"%s\" will expire soon. If you continue to want to store your events recording to Cloud, you should add a subscription.",
	TemplateInviteIgnored:              "设备分享被 %s 拒绝",
	TemplateInviteCleared:              "分享设备被被分享人 %s 删除",
	TemplateInviteDeleted:              "设备分享被 %s 删除",
	TemplateInviteRemoved:              "分享的设备被 %s 删除",
	TemplateAbnormalTemperatureAlarm:   "摄像头温度低于零摄氏度或高于45摄氏度均不允许充电",
	TemplateUpgradeAutoSucceed:         "设备 %s 升级成功。",
	TemplateUpgradeManualSucceed:       "设备 %s 升级成功。",
	TemplateUpgradeManualFailed:        "设备 %s 升级失败。",
	TemplateFieldRequired:              "需要 %s",
	TemplateFailedToRequest:            "请求失败。",
	TemplateSubscriptionSucceed:        "您的订阅已成功。",
	TemplateDeviceUpgradeAutoSucceed:   "摄像头 %s 升级成功。",
	TemplateDeviceUpgradeManualSucceed: "摄像头 %s 升级成功。",
	TemplateDeviceUpgradeManualFailed:  "摄像头 %s 升级失败。",

	Code2faMessage: "Because the two-factor authentication has been enabled, you may not be able to log in on phones with app v1.7.3 or lower. Please uninstall the old version, then download and install v1.7.4 and above version.",
}
